package com.smbms.mapper;

import com.smbms.pojo.Bill;
import com.smbms.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface BillMapper {
    //根据id删除
    int del(Long id);
    //增加
    int insert(Bill bill);
    //根据id查找
    Bill findById(Long id);
    //根据id进行修改
    int updateById(Bill bill);
    //查询所有
    List<Bill> findAll()throws SQLException;





}